package com.ruoyi.project.data.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 车辆进场记录对象 weight_car_enter
 * 
 * @author ruoyi
 * @date 2020-03-24
 */
public class WeightCarEnter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 场站编号 */
    @Excel(name = "场站编号")
    private String stationCode;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String plantNo;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String plantColor;

    /** 车辆侧前方图片 */
    @Excel(name = "车辆侧前方图片")
    private String frontPlatePhoto;

    /** 车辆侧后方图片 */
    @Excel(name = "车辆侧后方图片")
    private String afterPlatePhoto;

    /** 车辆左方图片 */
    @Excel(name = "车辆左方图片")
    private String lPlatePhoto;

    /** 车辆右方图片 */
    @Excel(name = "车辆右方图片")
    private String rPlatePhoto;

    /** 类型（1-进场；2-出厂） */
    @Excel(name = "类型", readConverterExp = "1=-进场；2-出厂")
    private String type;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date occurrenceTime;

    /** 删除标志位 */
    private String delFlag;

    /** 场站名称 */
    private  String  stationName;

    /** 识别相机编号 */
    private  String  frontCameraCode;

    /** 操作人 */
    private  String createName;

    private SysDept sysDept;

    /** 场站id */
    private Long stationId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setPlantNo(String plantNo) 
    {
        this.plantNo = plantNo;
    }

    public String getPlantNo() 
    {
        return plantNo;
    }
    public void setPlantColor(String plantColor) 
    {
        this.plantColor = plantColor;
    }

    public String getPlantColor() 
    {
        return plantColor;
    }
    public void setFrontPlatePhoto(String frontPlatePhoto) 
    {
        this.frontPlatePhoto = frontPlatePhoto;
    }

    public String getFrontPlatePhoto() 
    {
        return frontPlatePhoto;
    }
    public void setAfterPlatePhoto(String afterPlatePhoto) 
    {
        this.afterPlatePhoto = afterPlatePhoto;
    }

    public String getAfterPlatePhoto() 
    {
        return afterPlatePhoto;
    }
    public void setlPlatePhoto(String lPlatePhoto) 
    {
        this.lPlatePhoto = lPlatePhoto;
    }

    public String getlPlatePhoto() 
    {
        return lPlatePhoto;
    }
    public void setrPlatePhoto(String rPlatePhoto) 
    {
        this.rPlatePhoto = rPlatePhoto;
    }

    public String getrPlatePhoto() 
    {
        return rPlatePhoto;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getOccurrenceTime() {
        return occurrenceTime;
    }

    public void setOccurrenceTime(Date occurrenceTime) {
        this.occurrenceTime = occurrenceTime;
    }

    public String getFrontCameraCode() {
        return frontCameraCode;
    }

    public void setFrontCameraCode(String frontCameraCode) {
        this.frontCameraCode = frontCameraCode;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationCode", getStationCode())
            .append("plantNo", getPlantNo())
            .append("plantColor", getPlantColor())
            .append("frontPlatePhoto", getFrontPlatePhoto())
            .append("afterPlatePhoto", getAfterPlatePhoto())
            .append("lPlatePhoto", getlPlatePhoto())
            .append("rPlatePhoto", getrPlatePhoto())
            .append("type", getType())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
